package BaseDataType;

public class InteDemo {
    public static void main(String[] args) {
        Integer x1 = 500;
        Integer y1 = 500;
        System.out.println(x1 == y1);    // false
        Integer z = Integer.valueOf(500);
        Integer k = Integer.valueOf(500);
        System.out.println(z == k);   // true
    }
}
